package com.ttl.bc.ic.stkissue.bean;

import java.io.Serializable;
import java.util.Date;
import java.util.Set;


@SuppressWarnings("serial")
public class BCStkIssueBean implements Serializable {
	
	private String 	docNo;			//เลขที่เอกสาร
	private Date 	docDate;		//วันที่เอกสาร	
	private String 	departCode;		//แผนก
	private String 	issueType;		//ประเภทการเบิก
	private String	myDescription;	//
	
	private String 	personCode;		//ผู้เบิก
	private Float	sumOfAmount;
		
	private String	glFormat;		//ยังไม่รู้
	private Integer	glStartPosting;		
	private Integer	isCompleteSave;
	private Integer	isConfirm;
	private Integer	isCancel;
	
	private String 	projectCode;	//code, name ของโครงการ อยู่ใน BCProjectBean
	
	private String 	creatorCode;	//ผู้สร้างรายการ
	private Date 	createDateTime;	//เวลาที่สร้างรายการ	
	private String 	lastEditorCode;	//ผู้แก้ไขรายการ
	private Date 	lastEditDateT;	//เวลาที่แก้ไขรายการ
				
	@SuppressWarnings("unchecked")
	private Set bcStkIssueSubs;

		
	private String 	mode;			//ไม่ได้ไว้เก็บข้อมูลลง db แต่เอาไว้สร้าง link -> edit, print, view, delete ใน displaytag


	public String getDocNo() {
		return docNo;
	}


	public void setDocNo(String docNo) {
		this.docNo = docNo;
	}


	public Date getDocDate() {
		return docDate;
	}


	public void setDocDate(Date docDate) {
		this.docDate = docDate;
	}


	public String getDepartCode() {
		return departCode;
	}


	public void setDepartCode(String departCode) {
		this.departCode = departCode;
	}


	public String getIssueType() {
		return issueType;
	}


	public void setIssueType(String issueType) {
		this.issueType = issueType;
	}


	public String getMyDescription() {
		return myDescription;
	}


	public void setMyDescription(String myDescription) {
		this.myDescription = myDescription;
	}


	public String getPersonCode() {
		return personCode;
	}


	public void setPersonCode(String personCode) {
		this.personCode = personCode;
	}


	public Float getSumOfAmount() {
		return sumOfAmount;
	}


	public void setSumOfAmount(Float sumOfAmount) {
		this.sumOfAmount = sumOfAmount;
	}


	public String getGlFormat() {
		return glFormat;
	}


	public void setGlFormat(String glFormat) {
		this.glFormat = glFormat;
	}


	public Integer getGlStartPosting() {
		return glStartPosting;
	}


	public void setGlStartPosting(Integer glStartPosting) {
		this.glStartPosting = glStartPosting;
	}


	public Integer getIsCompleteSave() {
		return isCompleteSave;
	}


	public void setIsCompleteSave(Integer isCompleteSave) {
		this.isCompleteSave = isCompleteSave;
	}


	public Integer getIsConfirm() {
		return isConfirm;
	}


	public void setIsConfirm(Integer isConfirm) {
		this.isConfirm = isConfirm;
	}


	public Integer getIsCancel() {
		return isCancel;
	}


	public void setIsCancel(Integer isCancel) {
		this.isCancel = isCancel;
	}


	public String getProjectCode() {
		return projectCode;
	}


	public void setProjectCode(String projectCode) {
		this.projectCode = projectCode;
	}


	public String getCreatorCode() {
		return creatorCode;
	}


	public void setCreatorCode(String creatorCode) {
		this.creatorCode = creatorCode;
	}


	public Date getCreateDateTime() {
		return createDateTime;
	}


	public void setCreateDateTime(Date createDateTime) {
		this.createDateTime = createDateTime;
	}


	public String getLastEditorCode() {
		return lastEditorCode;
	}


	public void setLastEditorCode(String lastEditorCode) {
		this.lastEditorCode = lastEditorCode;
	}


	public Date getLastEditDateT() {
		return lastEditDateT;
	}


	public void setLastEditDateT(Date lastEditDateT) {
		this.lastEditDateT = lastEditDateT;
	}


	@SuppressWarnings("unchecked")
	public Set getBcStkIssueSubs() {
		return bcStkIssueSubs;
	}


	@SuppressWarnings("unchecked")
	public void setBcStkIssueSubs(Set bcStkIssueSubs) {
		this.bcStkIssueSubs = bcStkIssueSubs;
	}


	public String getMode() {
		return mode;
	}


	public void setMode(String mode) {
		this.mode = mode;
	}

	
}
